package com.htgd.gardenexpo.service.impl;

import com.htgd.gardenexpo.entity.GeConReservationInformation;
import com.htgd.gardenexpo.dao.GeConReservationInformationDao;
import com.htgd.gardenexpo.service.GeConReservationInformationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 预约入园 服务实现类
 * </p>
 *
 * @author author
 * @since 2024-06-27
 */
@Service
public class GeConReservationInformationServiceImpl extends ServiceImpl<GeConReservationInformationDao, GeConReservationInformation> implements GeConReservationInformationService {

    @Override
    public List<GeConReservationInformation> getInformations(int reservationId) {
        return lambdaQuery().eq(GeConReservationInformation::getReservationId,reservationId)
                .list();
    }
}
